home *** CD-ROM | disk | FTP | other *** search
- {$C-,U-}
- {Note : U compiler directive is off by default. I show it here to make it
- clear that it must be off}
- var
- j : integer;
- ch : char;
-
- begin
- j := 0;
- clrscr;
- repeat
- begin
- j := j + 1;
- writeln('j = ',j);
- end;
- until keypressed;
- read(kbd,ch); {Under most operating systems, eliminating this line in
- this program will cause Turbo to interpret the character
- entered. The exception is generic MS-DOS}
- end.